-- GENERATED SPELL FOR [Azure Enforcer] --


function spell0_26734(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15284,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26734', 587, 1)
end

function spell1_26734(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(39171,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26734', 5311, 1)
end

function Sorts_26734(pUnit, Event)
local choix_sorts_26734 = math.random(0, 1)
if choix_sorts_26734 == 0 then
pUnit:RegisterEvent('spell0_26734', 1, 1)
end
if choix_sorts_26734 == 1 then
pUnit:RegisterEvent('spell1_26734', 1, 1)
end
end

function mob26734_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26734', math.random(1500, 3000), 1)
end

function mob26734_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26734_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26734_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26734, 1, 'mob26734_Action')
RegisterUnitEvent(26734, 2, 'mob26734_Leave')
RegisterUnitEvent(26734, 3, 'mob26734_Kill')
RegisterUnitEvent(26734, 4, 'mob26734_Die')
